package com.jeomo.mem.provider.request;


import com.jeomo.common.core.request.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

/**
 * @Author: qbt
 * @Date: 2020/5/8 16:02
 * @Version 1.0
 */
@ApiModel("会员注册表单")
public class MemberRegisterRequest extends BaseRequest {

    /**  */
	private static final long serialVersionUID = 1L;

	/**
     * 姓名
     */
	@ApiModelProperty("会员名称")
    private String name;

    /**
     * 手机号
     */
    @NotBlank
	@ApiModelProperty(value = "会员手机号，必填", required = true)
    private String phone;

    /**
     * 开卡的商城Id
     */
	@NotBlank
	@ApiModelProperty(value = "开卡的商城Id", required = true)
    private String mallCode;

    /**
     * 开卡类型
	 * 1: 会员中心注册
	 * 2：小程序注册
	 * 3：会员导入
     */
	@ApiModelProperty(value = "开卡类型", required = true)
    private Integer registerType;



    //*************************下面是GetterSetter方法*************//


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getMallCode() {
		return mallCode;
	}

	public void setMallCode(String mallCode) {
		this.mallCode = mallCode;
	}

	public Integer getRegisterType() {
		return registerType;
	}

	public void setRegisterType(Integer registerType) {
		this.registerType = registerType;
	}
}
